package com.changzhi.ldyl.model.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description:
 * @author: 小落
 * @date: 2021年01月21日
 */
@Data
public class LanternDto extends BaseDto implements Serializable {

	private Integer pageNo;

	private Integer pageSize;

	@Range(min = 0, max = 5, message = "类型非法")
	@NotNull(message = "类型不能为空")
	private Integer type;

	private Integer id;

	private Integer activityId;

	private Integer answer;

	private Long roundId;

	private Integer finish;

}
